package com.hs.biye.service;

import com.hs.biye.model.DTO.BedRequest;
import com.hs.biye.model.DTO.InhospitalRequest;
import com.hs.biye.model.VO.InhospitalVo;
import com.hs.biye.model.entity.Inhospital;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hs.biye.model.reslut.ResultPage;

/**
* @author haoshuai
* @description 针对表【inhospital】的数据库操作Service
* @createDate 2024-02-18 12:53:14
*/
public interface InhospitalService extends IService<Inhospital> {
    ResultPage<InhospitalVo> getPageInhospital(InhospitalRequest medicineRequest);

    InhospitalVo getPageInhospitalById(Integer id);


    boolean removeInhospital(Integer id);

    boolean addInhospital(InhospitalRequest inhospitalRequest);


    boolean updateInhospital(InhospitalRequest inhospitalRequest);


    /**
     * 出院
     * @param id
     * @return
     */
    boolean OutHospital(Integer id);
}
